<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>柱形图</title>
		<script type="text/javascript" src="js/echarts.js" ></script>
	</head>
	<body>
		<div id="job" style="width: 600px;height: 400px;">			
		</div>
		<script>
			myCharts=echarts.init(document.getElementById("job"));
			
			var option={
				title:{
					text:'2018届各专业就业人数',
					subtext:'太原学院计算机科学与技术系',
					left:'center'
				},
				tooltip:{},
				toolbox:{
				    show:true,
				    feature:{
				    	mark:{show:true},
				    	dataView:{show:true,readOnly:false},
				    	magicType:{show:true,type:['line','bar']},
				    	restore:{show:true},
				    	saveAsImage:{show:true}
				    }
				},
				xAxis:{
					data:['计','网','软','数']
				},
				yAxis:{},
				series:[
					{
						name:'就业数据',
						type:'bar',
						data:[900,700,550,500]
					}
				]
			};
			myCharts.setOption(option);
		</script>
	</body>
</html>
